Print members of a group

Hi All,

I have a project A and a group "RM_Team". I want to print all the users of the group "RM_Team" and their access rights.

Is there any way.

I have searched the forum and found this:

But these print all the users and all the groups names. I wanted it to be specific.

User u = null
for u in userList "*" do {
   string s = u.name 
   print s "\n"
}
 
Group g = null
for g in groupList "*" do {
   string s = g.name 
   print s "\n"
}

Gsquare - Mon Dec 12 03:59:11 EST 2016

Re: Print members of a group
Antonio__Norkus - Mon Dec 12 08:54:14 EST 2016

I think you'll need to use the "for user in group" loop. e.g.

User user 
Group rmTeamGroup = find("RM_Team") 
for user in rmTeamGroup do
{
    string uName = user.name
    print uName "\n"
}